import { createRouter, createWebHistory } from 'vue-router'
import HomeView from '../views/HomeView.vue'

const router = createRouter({
  history: createWebHistory(import.meta.env.BASE_URL),
  routes: [
    {
      path: '/',
      name: 'home',
      component: () => import('../components/echarts-demo/Demo01.vue'),
    },
    {
      path: '/demo02',
      component: () => import('../components/echarts-demo/Demo02.vue'),
    },
    {
      path: '/demo03',
      component: () => import('../components/echarts-demo/Demo03.vue'),
    },
    {
      path: '/demo04',
      component: () => import('../components/echarts-demo/Demo04.vue'),
    },
    {
      path: '/demo05',
      component: () => import('../components/echarts-demo/Demo05.vue'),
    },
    {
      path: '/demo06',
      component: () => import('../components/echarts-demo/Demo06.vue'),
    },
    {
      path: '/demo07',
      component: () => import('../components/echarts-demo/Demo07.vue'),
    },
    {
      path: '/demo08',
      component: () => import('../components/echarts-demo/Demo08.vue'),
    },
    {
      path: '/demo09',
      component: () => import('../components/echarts-demo/Demo09.vue'),
    },
    {
      path: '/demo10',
      component: () => import('../components/echarts-demo/Demo10.vue'),
    },
  ],
})

export default router
